package com.greate.community.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author xzx
 * @date 2022/3/11 23:38
 */
@Data
public class RealNameDTO {
    @NotBlank(message = "请上传学生证照片")
    private String studentCardUrl;

    @NotBlank(message = "请输入学号")
    @Size(max = 30)
    private String studentCode;

    @NotBlank(message = "请输入姓名")
    @Size(max = 20)
    private String realName;

    @NotBlank(message = "请输入学院")
    @Size(max = 20)
    private String institute;

    @NotBlank(message = "请输入班级")
    @Size(max = 20)
    private String professionalClass;
}
